﻿@model IEnumerable<asMeishi.web.Models.shop>
@using asMeishi.web.Classes;
@using asMeishi.web.Models;
@using asMeishi.web;
@using publicLibrary;
@{
    Layout = null;
    Boolean more = false;
    if(ViewBag.more!=null){
        more = (Boolean)ViewBag.more;
    }
         if (more)
        {
    <more>true</more>
        }   
    }
    
    
    @foreach (var item in Model)
    {

    <div class="itemShop">

         <!-- 平分--->
         <div class="shopDetailEx">
            <label>美味<span class="grade ncolor">@item.quality.toSumValue("—")</span></label>
            <label>服务<span class="grade ncolor">@item.service.toSumValue("—")</span></label>
            <label>环境<span class="grade ncolor">@item.priceQuality.toSumValue("—")</span></label><br/>
            <label>人均消费<span class="grade ncolor">@item.cost.toSumValue("—")</span>元  <span class='num'>【@item.cost_number】人次评价</span></label>
            <label class="sum "><span class="ncolor">@item.sum_score.toSumValue("—")</span><br />综合分值<span class="score_number">( @item.score_number 人次)</span></label>
            
        </div>
        <!-- 平分--->
        <div class="headPic">
            <img src="@item.getHeadPic()" />
        </div>


        <div class="info">
            <span class="name"><a href="/shop/detail/@item.Id" target="_blank">@item.name</a></span>
            <span class="size">[ @publicDictApp.get("shopHead").tansValue(@item.head.ToString())] ]</span>
            <span class="shopClass nowrap">[ @item.foodStyle ]</span>
            <div class="address" >地址:@item.addressStr</div>
@*            <div>电话:@item.telephone</div>*@
            <div class="shopComment">评论<span class="num">@item.comment_number</span>人次</div>
            <div class="updata">更新:@item.lasttime.ToString("yy-MM-dd") <span class="lastResieUser">@userC.userName(item.lastReviseUser)</span>              </div>
                          
        </div>

    </div>
    }
